package com.youhome.service.impl;

import com.youhome.mapper.DictMapper;
import com.youhome.model.Dict;
import com.youhome.service.DictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by chen365 on 2018/09/21.
 */
@Service
public class DictServiceImpl implements DictService {
    @Autowired
    private DictMapper dictMapper;

    @Override
    public List<Dict> selectByBean(Dict record) {
        return dictMapper.selectByBean(record);
    }
}
